package com.stock.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("login_log")
public class LoginLogEntity {

    @TableId(type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("ip地址")
    private String ip;

    @ApiModelProperty("登录时间")
    private Date loginTime;

    @ApiModelProperty("逻辑删除")
    private Integer isDel = 0;

}
